package com.yonyou.iuap.jxzy.dao;
import com.yonyou.iuap.jxzy.entity.MonitorSample;
import com.yonyou.iuap.jxzy.servlet.DeviceInfo;
import com.yonyou.iuap.baseservice.persistence.mybatis.mapper.GenericExMapper;
import com.yonyou.iuap.baseservice.persistence.mybatis.mapper.GenericMapper;
import com.yonyou.iuap.mybatis.anotation.MyBatisRepository;

import java.util.List;

import org.apache.ibatis.annotations.Param;


@MyBatisRepository
public interface MonitorSampleMapper extends GenericExMapper<MonitorSample> {
        List selectListByExcelData(List list);
        
        Integer updateParamByPoundNo(@Param(value="pk_delivery")String pk_delivery,@Param(value="vdef5") String vdef5);

		Integer updateParamById(@Param(value="pk_poundbill")String pk_poundbill,@Param(value="vdef3") String vdef3,@Param(value="vdef6")String vdef6);

		String getPkDeliver(@Param(value="id")String id);

		Integer sampleToAdd(@Param(value="pk_poundbill")String pk_poundbill, @Param(value="sampleArray")String sampleArray);

		Integer auditPass(@Param(value="pk_poundbill")String pk_poundbill);

		Integer sampleToAddStatus(@Param(value="pk_poundbill")String pk_poundbill);

		Integer notSampleToAdd(@Param(value="pk_poundbill")String pk_poundbill);

		//, @Param(value="humanVerifyFlag")String humanVerifyFlag
		Integer changeSdtatus(@Param(value="pk_poundbill")String pk_poundbill);

		//更新磅单主表审核时间
	    Integer	updateAuditTime(@Param(value="pk_poundbill")String pk_poundbill);
	  
	    List<MonitorSample> queryBypk(@Param(value="pk_poundbill")String pk_poundbill);
}

